//
//  UISwipeGestureRecognizer+IndexProperty.m
//  xiaohu
//
//  Created by 刘璇 on 2017/11/8.
//  Copyright © 2017年 iOSOneGpowerMobile. All rights reserved.
//

#import "UIGestureRecognizer+IndexProperty.h"
#import <objc/runtime.h>
@implementation UIGestureRecognizer (IndexProperty)


-(NSIndexPath *)indexPath{
    return objc_getAssociatedObject(self, @"indexPath");
}
-(void)setIndexPath:(NSIndexPath *)indexPath{
    objc_setAssociatedObject(self, @"indexPath", indexPath, OBJC_ASSOCIATION_RETAIN_NONATOMIC);
}

@end
